#include <iostream>
#include <functional>
#include <memory>
using namespace std;

int main()
{
	unique_ptr<int,function<void(int*)>> ptr1(new int[10],[](int* p)->void{
			cout<<"call lambda release new int[100]"<<endl;
			delete []p;
			});

	return 0;
}
